# import time
# class TestUI:
#     def __init__(self):
#         self.deiver = webdriver.Chrome()


# # 注册功能测试
# def testReg(self):
#     # 打开测试网页
#     self.driver.get('http://localhost:8080/reg')
#     # 自动给输入框添加值
#     self.driver.find_element_by_name('username').send_keys('zs')
#     time.sleep(2)
#     self.driver.find_element_by_name('password').send_keys('134')
#     self.driver.find_element_by_name('mobile').send_keys('18795359192')
#     # 自动滑动
#     action = ActionChains(self.driver)
#     # 获取图形球元素
#     ball = self.driver.find.
